﻿<Window
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:Core="clr-namespace:SuperFind.Lib.Core;assembly=SuperFind.Lib"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="SuperFind.Option"
        WindowStartupLocation="CenterOwner"
        ResizeMode="NoResize"
        Title="Option" Height="300" Width="500" Loaded="Window_Loaded" Icon="{DynamicResource ApplicationIcon}">
    <Window.Resources>
        <DataTemplate x:Key="location">
                <StackPanel Orientation="Horizontal" >
                <CheckBox x:Name="PART_Select" Margin="0,2,2,2" IsChecked="{Binding IsSelected, Mode=TwoWay, RelativeSource={RelativeSource AncestorType={x:Type ListBoxItem}, Mode=FindAncestor}}"/>
                <TextBlock x:Name="PART_DriveLetter" Text="{Binding Name}" Margin="0,2,2,2" Foreground="Black"/>
                    <TextBlock x:Name="PART_Type" Text="{Binding VolumeLabel}" Margin="0,2,2,2" Foreground="Black"/>
                    <Image x:Name="PART_DriveType" Margin="0,2,2,2"/>
                </StackPanel>
        </DataTemplate>
    </Window.Resources>
    <Grid>
        <TabControl x:Name="tbcOptions" x:FieldModifier="private" SelectedIndex="0" Margin="0,0,0,33.277">
            <TabItem Header="General">
            	<Grid>
            		<TextBox HorizontalAlignment="Left" TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Margin="108.44,26,0,0"/>
            		<TextBox TextWrapping="Wrap" Text="TextBox" VerticalAlignment="Top" Margin="186.458,26,0,0" HorizontalAlignment="Left"/>
            		<TextBlock HorizontalAlignment="Left" TextWrapping="Wrap" Text="Refresh after every " VerticalAlignment="Top" Margin="8,29,0,0"/>
            		<TextBlock TextWrapping="WrapWithOverflow" Text="Hrs." VerticalAlignment="Top" Margin="161.683,29,0,0" HorizontalAlignment="Left" Width="20.775" TextTrimming="CharacterEllipsis"/>
            		<TextBlock TextWrapping="Wrap" Text="Mins" VerticalAlignment="Top" Margin="239.701,29,221.265,0" d:LayoutOverrides="Width"/>
            	</Grid>
            </TabItem>
            <TabItem Header="Select Drives">
                <ListBox x:FieldModifier="private" SelectionMode="Multiple" x:Name="lstSelectedLocations">
                        <ListBox.Resources>
                            <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrushKey}" Color="Transparent" />
                        </ListBox.Resources>
                	<ListBox.ItemTemplate>
                		<StaticResource ResourceKey="location"/>
                	</ListBox.ItemTemplate>
                </ListBox>
            </TabItem>
        </TabControl>
        <Button x:Name="btnOk" Content="_OK" HorizontalAlignment="Right" Width="75" Margin="0,0,166,8" VerticalAlignment="Bottom" IsDefault="True" Click="btnOk_Click"/>
        <Button x:Name="btnCancel" Content="_Cancel" HorizontalAlignment="Right" Width="75" Margin="0,0,87,8" VerticalAlignment="Bottom" IsCancel="True"/>
        <Button x:Name="btnHelp" Content="_Help" Margin="0,0,8,8" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="75" Cursor="Help"/>
    </Grid>
</Window>
